package com.sdry.mapper;

import com.sdry.entity.PartCategory;
import com.sdry.entity.PartCategoryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PartCategoryMapper {
    int countByExample(PartCategoryExample example);

    int deleteByExample(PartCategoryExample example);

    int deleteByPrimaryKey(Long categoryId);

    int insert(PartCategory record);

    int insertSelective(PartCategory record);

    List<PartCategory> selectByExample(PartCategoryExample example);

    PartCategory selectByPrimaryKey(Long categoryId);

    int updateByExampleSelective(@Param("record") PartCategory record, @Param("example") PartCategoryExample example);

    int updateByExample(@Param("record") PartCategory record, @Param("example") PartCategoryExample example);

    int updateByPrimaryKeySelective(PartCategory record);

    int updateByPrimaryKey(PartCategory record);
}